package br.com.univas.si6.sd1.jogo.client;

public class ClientMain {
	public static void main(String[] args) {
		
		try {
			
			MulticastClient multicastClient = new MulticastClient();
			multicastClient.processar("239.1.2.3", 4444);
			
			ClientDatagrama clientDatagrama = new ClientDatagrama(5555);
			String host = clientDatagrama.processar();
			
			System.out.println("Conectado com o servidor " + host);
			GameClient gameClient = new GameClient(host, 6666);
			gameClient.startGame();
			
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
}
